﻿@model HawaiRestaurant.Models.DataContext.FoodType

@{
    ViewBag.Title = "DeleteFoodType";
    Layout = "~/Views/Shared/_LayoutAdmin.cshtml";
}

<h2>DeleteFoodType</h2>

<h3>Are you sure you want to delete this?</h3>
@using (Html.BeginForm("DeleteFoodType", "Admin", FormMethod.Post, new { @class = "niceform" }))
   {
       @Html.ValidationSummary(true)
       <fieldset>
           <dl class="submit" style="margin-left: -160px">
               <dd>
                 <b>Name :  @Html.DisplayFor(model => model.Name)</b> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;  <input id="submit" class="NFButton" type="submit" value="Delete" name="submit"> 
               </dd>
           </dl>
       </fieldset>
   }
 @Html.ActionLink("Back To List","ListFoodTypes","Admin")